import request from '@/utils/request';

export async function reqTyThaliConfigList(data: any, options?: any): Promise<any> {
	return request('/api/sys/thaliConfig/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyThaliConfig(data: any, options?: any): Promise<any> {
	return request('/api/sys/thaliConfig/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyThaliConfig(data: any, options?: any): Promise<any> {
	return request('/api/sys/thaliConfig/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyThaliConfig(data: any, options?: any): Promise<any> {
	return request('/api/sys/thaliConfig/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


